package com.clqteam.serviceimpl;

import com.clqteam.dao.EmployeeLoginDao;
import com.clqteam.daoimpl.EmployeeLoginDaoImpl;
import com.clqteam.model.Employee;
import com.clqteam.service.EmployeeLoginService;

public class EmployeeLoginServiceImpl implements EmployeeLoginService{
   EmployeeLoginDao emDao=new EmployeeLoginDaoImpl();
	@Override
	public Employee findEmployeeAccountAndEmployeePsw(String name, String psw) {
		
		return emDao.getEmployeeAccountAndEmployeePsw(name, psw);
	}
	@Override
	public boolean insertLoginTime(String drTime, String drInfo, int eId, String eName) {
		
		return emDao.insertLoginTime(drTime, drInfo, eId, eName);
	}
	
	

}
